import request from './request.js';
//详情
export const detail = (params) => request.post('/http/api/get_article_detail', params); 
//评论列表
export const comment = (params) => request.post('/http/api/get_comment_list', params);
//评论回复
export const add_comment = (params) => request.post('/http/api/add_comment', params);
//回复列表
export const get_reply_list = (params) => request.post('/http/api/get_reply_list', params);
//收藏
export const add_fav = (params) => request.post('/http/api/add_fav', params);
//取消收藏
export const remove_fav = (params) => request.post('/http/api/remove_fav', params);
// 点赞
export const like = (params) => request.post('/http/api/like', params);
//取消点赞
export const unlike = (params) => request.post('/http/api/unlike', params);